package com.hiultra.archive.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 盘点任务对象 archive_stocktaking_task
 *
 * @author paidaxing
 * @date 2024-07-31
 */
public class ArchiveStocktakingTask extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private String taskId;

    /**
     * 供电单位编号
     */
    private String orgNo;

    /**
     * 档案室编号
     */
    private String roomNo;

    /**
     * 盘点任务编号
     */
    @Excel(name = "盘点任务编号")
    private String inventoryNo;

    /**
     * 盘点任务内容
     */
    @Excel(name = "盘点任务内容")
    private String inventoryContent;

    /**
     * 盘点任务制定日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "盘点任务制定日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inventoryDate;

    /**
     * 盘点人员
     */
    @Excel(name = "盘点人员")
    private String inventoryBy;

    /**
     * 档案柜数量
     */
    @Excel(name = "档案柜数量")
    private String cabinetNum;

    /**
     * 档案盒数量
     */
    @Excel(name = "档案盒数量")
    private String boxNum;

    /**
     * 推送状态（01-已推送 02- 未推送）
     */
    @Excel(name = "推送状态", readConverterExp = "01-已推送,02-未推送")
    private String pushStatus;

    /**
     * 盘点日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inventoryTime;

    /**
     * $column.columnComment
     */
    private String creator;

    /**
     * $column.columnComment
     */
    private Date modifyTime;

    /**
     * $column.columnComment
     */
    private String modifier;
    /**
     * 盘点状态（ 02-待盘点中03-盘点完成）
     */
    private String status;
    private List<ArchiveCabinet> cabinetList;
    private List<ArchiveStocktakingBox> archiveStocktakingBoxList;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ArchiveStocktakingBox> getArchiveStocktakingBoxList() {
        return archiveStocktakingBoxList;
    }

    public void setArchiveStocktakingBoxList(List<ArchiveStocktakingBox> archiveStocktakingBoxList) {
        this.archiveStocktakingBoxList = archiveStocktakingBoxList;
    }

    public List<ArchiveCabinet> getCabinetList() {
        return cabinetList;
    }

    public void setCabinetList(List<ArchiveCabinet> cabinetList) {
        this.cabinetList = cabinetList;
    }

    public static class ArchiveCabinet {
        private String roomNo;
        private String areaNo;
        private String cabinetNo;

        public String getRoomNo() {
            return roomNo;
        }

        public void setRoomNo(String roomNo) {
            this.roomNo = roomNo;
        }

        public String getAreaNo() {
            return areaNo;
        }

        public void setAreaNo(String areaNo) {
            this.areaNo = areaNo;
        }

        public String getCabinetNo() {
            return cabinetNo;
        }

        public void setCabinetNo(String cabinetNo) {
            this.cabinetNo = cabinetNo;
        }
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setInventoryNo(String inventoryNo) {
        this.inventoryNo = inventoryNo;
    }

    public String getInventoryNo() {
        return inventoryNo;
    }

    public void setInventoryContent(String inventoryContent) {
        this.inventoryContent = inventoryContent;
    }

    public String getInventoryContent() {
        return inventoryContent;
    }

    public void setInventoryDate(Date inventoryDate) {
        this.inventoryDate = inventoryDate;
    }

    public Date getInventoryDate() {
        return inventoryDate;
    }

    public void setInventoryBy(String inventoryBy) {
        this.inventoryBy = inventoryBy;
    }

    public String getInventoryBy() {
        return inventoryBy;
    }

    public void setCabinetNum(String cabinetNum) {
        this.cabinetNum = cabinetNum;
    }

    public String getCabinetNum() {
        return cabinetNum;
    }

    public void setBoxNum(String boxNum) {
        this.boxNum = boxNum;
    }

    public String getBoxNum() {
        return boxNum;
    }

    public void setPushStatus(String pushStatus) {
        this.pushStatus = pushStatus;
    }

    public String getPushStatus() {
        return pushStatus;
    }

    public void setInventoryTime(Date inventoryTime) {
        this.inventoryTime = inventoryTime;
    }

    public Date getInventoryTime() {
        return inventoryTime;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreator() {
        return creator;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getModifier() {
        return modifier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("taskId", getTaskId())
                .append("orgNo", getOrgNo())
                .append("roomNo", getRoomNo())
                .append("inventoryNo", getInventoryNo())
                .append("inventoryContent", getInventoryContent())
                .append("inventoryDate", getInventoryDate())
                .append("inventoryBy", getInventoryBy())
                .append("cabinetNum", getCabinetNum())
                .append("boxNum", getBoxNum())
                .append("pushStatus", getPushStatus())
                .append("inventoryTime", getInventoryTime())
                .append("createTime", getCreateTime())
                .append("creator", getCreator())
                .append("modifyTime", getModifyTime())
                .append("modifier", getModifier())
                .toString();
    }
}
